package com.filldream.fastboot.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.filldream.fastboot.common.entity.db.StockBaseInfo;
import org.apache.ibatis.annotations.Select;

public interface StockMapper extends BaseMapper<StockBaseInfo> {

    @Select( "SELECT count(1) FROM `stock` WHERE stock_code = #{stockCode}" )
    Integer countByStockCode(String stockCode);

}
